<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <!-- import CSS -->
    <link rel="stylesheet" href="css/eui.css">
    <style>
        body{
            margin: 0;
            text-align: center;
        }
        header{
            line-height: 60px;
            text-align: center;
            background-color: skyblue;
            z-index: 0;
            /*elementUI框架会让header高度为60 通过!important提升优先级*/
            /*height: 100px !important;*/
        }
        main{
            background-color: green;
            line-height: 200px;
            text-align: center;
        }
        aside{
            background-color: blue;
            line-height: 200px;
            text-align: center;
        }
        menu{
            text-align: center;
        }
    </style>
</head>
<body>
<div id="app">
    <el-image
            style="width: 200px;position:relative;top: 17px"
            src="imgs/logo.png"
            fit="contain"
    >
    </el-image>

    <span><el-link :underline="false">首页</el-link></span>
    <el-divider direction="vertical"></el-divider>
    <span><el-link :underline="false">热点资讯</el-link></span>
    <el-divider direction="vertical"></el-divider>
    <span><el-link :underline="false">商家入驻</el-link></span>
    <el-divider direction="vertical"></el-divider>
    <span><el-link :underline="false">社会招聘</el-link></span>
    <el-divider direction="vertical"></el-divider>
    <span><el-link :underline="false">校园招聘</el-link></span>
    <el-divider direction="vertical"></el-divider>
    <span><el-link :underline="false">帮助中心</el-link></span>
    <el-container>
        <el-header>
            <el-menu default-active="1" class="el-menu-demo" mode="horizontal"
                     @select="handleSelect" background-color="skyblue" text-color="#fff"
                     active-text-color="#fff" >
                <el-menu-item index="1">精彩活动</el-menu-item>
                <el-menu-item index="2" >当季女装</el-menu-item>
                <el-menu-item index="3">品牌活动</el-menu-item>
                <el-menu-item index="4">环球美食</el-menu-item>
                <el-menu-item index="5">医药健康</el-menu-item>
                <el-menu-item index="6">美妆彩妆</el-menu-item>
                <el-menu-item index="7">母婴产品</el-menu-item>
                <el-menu-item index="8"><el-input v-model="input" placeholder="请输入关键字"></el-input>
                </el-menu-item>
                <el-menu-item index="9">
                    <el-button icon="el-icon-search" plain size="small"
                               style="position: relative;right: 30px;top:1px">

                    </el-button>
                </el-menu-item>
            </el-menu>

        </el-header>
        <el-container>
            <el-aside width="800px">Aside</el-aside>
            <el-main>Main</el-main>
        </el-container>
    </el-container>

</div>
</body>
<!-- import Vue before Element -->
<script src="js/vue.js"></script>
<!-- import JavaScript -->
<script src="js/eui.js"></script>
<script>
    let v = new Vue({
        el: '#app',
        data: function() {
            return {
                input:''
            }
        }
    })
</script>
</html>